package com.study.system.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("user_course_order")
public class UserCourseOrder {

  @TableId(type = IdType.AUTO)
  private long id;
  private long userId;
  private long courseId;
  private long activityId;
  private long status;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;
  private long isDel;
  private String tradeNo;
  private long payTypeId;
  private long price;

  public UserCourseOrder(long userId, long courseId, long activityId, long status, String tradeNo, long payTypeId, long price, long id) {
    this.userId = userId;
    this.courseId = courseId;
    this.activityId = activityId;
    this.status = status;
    this.tradeNo = tradeNo;
    this.payTypeId = payTypeId;
    this.price = price;
    this.id = id;
  }

  public UserCourseOrder() {
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }


  public long getCourseId() {
    return courseId;
  }

  public void setCourseId(long courseId) {
    this.courseId = courseId;
  }


  public long getActivityId() {
    return activityId;
  }

  public void setActivityId(long activityId) {
    this.activityId = activityId;
  }


  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }


  public java.sql.Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Timestamp createTime) {
    this.createTime = createTime;
  }


  public java.sql.Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.sql.Timestamp updateTime) {
    this.updateTime = updateTime;
  }


  public long getIsDel() {
    return isDel;
  }

  public void setIsDel(long isDel) {
    this.isDel = isDel;
  }


  public String getTradeNo() {
    return tradeNo;
  }

  public void setTradeNo(String tradeNo) {
    this.tradeNo = tradeNo;
  }


  public long getPayTypeId() {
    return payTypeId;
  }

  public void setPayTypeId(long payTypeId) {
    this.payTypeId = payTypeId;
  }


  public long getPrice() {
    return price;
  }

  public void setPrice(long price) {
    this.price = price;
  }

}
